package TankGame03;

/**
 * @author 王艺锡
 * @version 1.0
 */
public class Bomb {
    int x,y;
    int life = 30;
    boolean isLive = true;

    public Bomb(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public void lifeDown(){
        if(life >0){
            life--;
        }else {
            isLive = false;
        }
    }

}
